clear
echo - Compiling kernel
cd kernel
make
echo 
read -p "Press any key" -n1 -s
echo 
echo - Compiling C library
cd ../clib
make
echo 
read -p "Press any key" -n1 -s
echo
echo - Compiling drivers
echo -- keyboard
cd ../drivers/kbd
make
echo -- screen
cd ../screen
make
echo -- vfs
cd ../vfs
make
cd ..
tar -cf drivers.tar */*.elf
echo 
read -p "Press any key" -n1 -s
echo 
echo - Compiling daemons
cd ../daemon/init
make
cd ../..
echo 
read -p "Press any key" -n1 -s
./build/update_image_mac.sh
./build/run_bochs.sh